<?php
 ob_start();
 ?>
<html>

<head>
<title>Update</title>
<link type="text/css" href="jquery-ui-1.8.13.custom/css/smoothness/jquery-ui-1.8.13.custom.css" rel="Stylesheet" />	
<script type="text/javascript" src="jquery-1.6.2.min.js"></script>
<script type="text/javascript" src="jquery-ui-1.8.13.custom/js/jquery-ui-1.8.13.custom.min.js"></script>
</head>
<body>

<br/>
<br/>
<center><h1>Update TAKE CARE OF</h1></center>
<br/>
<center><table border=3 bordercolor="#ff99cc">
<tr><td>

<?
	$conn = oci_connect("hospital", "hospital", "//localhost/XE"); 

	$call = "select * from TAKE_CAREOF where NURSE_ID = '".$_GET["ids"]."' ";
	$col = $_GET["ids"];
        
	$pull = oci_parse($conn,$call);
	oci_execute($pull,OCI_DEFAULT);
	$total = oci_fetch_array($pull);
?>
<form action="edit-takecareof.php?col=+<?echo $col?>" method="post">
	NURSE_ID: <input type="text" name="nur_id"  value = "<?=$total["NURSE_ID"];?>"  /><br/>
	PATIENTS_ID: <input type="text" name="pat_id"  value = "<?=$total["PATIENT_ID"];?>"  /><br/>
	DAYS: <input type="text" name="days"  value = "<?=$total["DAYS"];?>" /><br/>
	<center><input type="submit" /></center>
	
</form>

</td></tr>
</table>
</body>
</html>
